package com.atguigu.gmall.feign.product.impl;


import com.atguigu.gmall.feign.product.SkuInfoFeignClient;
import com.atguigu.gmall.model.product.BaseCategoryView;
import com.atguigu.gmall.model.product.SkuInfo;
import com.atguigu.gmall.model.product.SpuSaleAttr;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 1、每一个Feign远程接口都准备他的fallback类，防止远程数据调用不到问题
 * 2、
 * @author dyqstart
 * @create 2021-08-07-19:36
 * @since 1.0.0
 */
@Component
public class SkuInfoFeignClientFallback implements SkuInfoFeignClient {

    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        return null;
    }

    @Override
    public BaseCategoryView getCategoryView(Long category3Id) {
        return null;
    }

    @Override
    public BigDecimal getSkuPrice(Long skuId) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSpuSaleAttrListCheckBySku(Long skuId, Long spuId) {
        return null;
    }

    @Override
    public Map getSkuValueIdsMap(Long spuId) {
        return null;
    }
}
